<template>
<div>
<van-swipe :autoplay="3000">
 <van-swipe-item v-for="(image, index) in images" :key="index">
 <img :src="image.image" />
 </van-swipe-item>
</van-swipe>
</div>
</template>
<script>
export default {
  name: "swiper",
  props:{
  images:Array
  },
  data () {
    return {
       
    };
  }
}
</script>
<style lang="scss" scoped>
img{
  width: 100%;
  height: 100%;
}
</style>